
make:
	./rebar co

so:
	g++ -fPIC -shared -I c_src/cppjieba/include -I c_src/cppjieba/deps/ -I c_src/cppjieba/deps/gtest/include -I /usr/local/lib/erlang/erts-9.0/include/ -o priv/ejieba.so c_src/ejieba.cpp


cl:
	rm -rf priv/*.so
	./rebar clean


st:
	erl -pa ebin/ deps/*/ebin/ +pc unicode -s ejieba_app


rar:
	tar -zcf ejieba.tar.gz deps/*/ebin/ dict/ ebin/ priv/ Makefile